package edu.scut.course_management.po;


/**
 * 持久化对象： 课程与作业的关联
 * @author huaming
 */
public class SectionHomework {
    
    private Integer periodId;
    private String year;
    private String term;
    private Integer courseId;
    private String buildingId;
    private String roomNumber;
    private Integer homeworkId;

    public Integer getPeriodId() {
        return periodId;
    }

    public void setPeriodId(Integer periodId) {
        this.periodId = periodId;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getTerm() {
        return term;
    }

    public void setTerm(String term) {
        this.term = term;
    }

    public Integer getCourseId() {
        return courseId;
    }
    
    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public String getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(String buildingId) {
        this.buildingId = buildingId;
    }

    public String getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(String roomNumber) {
        this.roomNumber = roomNumber;
    }

    public Integer getHomeworkId() {
        return homeworkId;
    }

    public void setHomeworkId(Integer homeworkId) {
        this.homeworkId = homeworkId;
    }

	@Override
	public String toString() {
		return "SectionHomework{" +
				"periodId=" + periodId +
				", year='" + year + '\'' +
				", term='" + term + '\'' +
				", courseId=" + courseId +
				", buildingId='" + buildingId + '\'' +
                ", roomNumber='" + roomNumber + '\'' +
                ", homeworkId=" + homeworkId +
				'}';
	}
}
